.el-table__footer-wrapper {
  margin-top: 0 !important;
}
::v-deep .el-table.xgm-table {
  .el-table__header-wrapper,
  .el-table__fixed-header-wrapper,
  .el-table__fixed {
    tr th:nth-child(n + 1) .cell {
      display: flex;
      align-items: center;
      justify-content: center;
      box-sizing: border-box;
    }
  }

  // 修改默认滚动条
  .el-table__body-wrapper.is-scrolling-left,
  .el-table__body-wrapper.is-scrolling-right,
  .el-table__body-wrapper.is-scrolling-middle,
  .el-table__fixed-body-wrappe {
    overflow-x: scroll;

    &::-webkit-scrollbar {
      // display: none;
      width: 100%;
      height: 10px;
      cursor: pointer;
    }

    // &:hover::-webkit-scrollbar {
    //     display: inline-block;
    // }

    &::-webkit-scrollbar-track {
      background-color: #eff2f7;
      position: absolute;
      right: 2px;
      bottom: 2px;
      z-index: 1;
      border-radius: 10px;
      opacity: 0;
      transition: opacity 0.12s ease-out;
    }

    &::-webkit-scrollbar-thumb {
      cursor: pointer;
      border-radius: inherit;
      background-color: rgba(110, 113, 117, 0.3);
      transition: background-color 0.3s;
      border-radius: 10px;
    }
  }

  .el-table__footer-wrapper,
  .el-table__fixed-footer-wrapper {
    td .cell {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  th,
  td {
    padding: 6px 0;
  }

  th,
  .el-table__footer-wrapper td,
  .el-table__fixed-footer-wrapper tbody td {
    background-color: #f8f9fa;
  }

  .el-table__row td.my_column:nth-child(1) {
    padding: 0;

    .cell {
      height: 32px;
      line-height: 32px;
      padding: 0;

      .name {
        display: inline-block;
        width: 100%;
        height: 100%;

        &.isSelect {
          background-color: #5da979;
          color: #fff;
        }
      }
    }
  }

  // 表格选择边框高亮状态样式
  .el-table__header th.my_column:nth-child(1) {
    border: solid #eff2f7;
    border-width: 1px 1px 0;

    &.visible {
      border-color: rgb(64, 158, 255);
    }
  }

  .el-table__row {
    td.my_column:nth-child(1) {
      border: solid #eff2f7;
      border-width: 0 1px 0;

      &.visible {
        border-color: rgb(64, 158, 255);
      }
    }

    &:last-child td.my_column:nth-child(1) {
      border-width: 0 1px 1px;
    }
  }
}
